package com.easyjava.qingke.project.mybatis.IDao;

import java.util.List;

import com.easyjava.qingke.project.mybatis.pojo.PurchasePlanning;

public interface PurchasePlanningMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PurchasePlanning record);

    int insertSelective(PurchasePlanning record);

    PurchasePlanning selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PurchasePlanning record);

    int updateByPrimaryKey(PurchasePlanning record);
    
    PurchasePlanning  getPurchasePlanningByCode(String code);
    
    List<PurchasePlanning> selectPurchasePlanning();
    
    List<PurchasePlanning> getPurchasePlanningByStatus();
    
}